import request from '@/utils/request'

// 自动发短信获取配置
export function lists(data) {
  return request({
    url: '/SchedMessage/lists',
    method: 'post',
    data
  })
}
// 勾选/取消勾选短信配置
export function check_message(data) {
  return request({
    url: '/SchedMessage/check_message',
    method: 'post',
    data
  })
}

// 套餐列表
export function setmenu(data) {
  return request({
    url: '/SchedMessage/setmenu',
    method: 'post',
    data
  })
}
// 创建订单
export function CreateOrder(data) {
  return request({
    url: '/SchedMessage/CreateOrder',
    method: 'post',
    data
  })
}
// 充值记录
export function OrderRecord(data) {
  return request({
    url: '/SchedMessage/OrderRecord',
    method: 'post',
    data
  })
}

// 发送记录
export function SendRecord(data) {
  return request({
    url: '/SchedMessage/SendRecord',
    method: 'post',
    data
  })
}
// 发送记录
export function YzmSendRecord(data) {
  return request({
    url: '/SchedMessage/YzmSendRecord',
    method: 'post',
    data
  })
}
// TitleList
export function TitleList(data) {
  return request({
    url: '/SchedMessage/TitleList',
    method: 'post',
    data
  })
}
// 查询支付信息（定时器2秒一次）
export function getPayinfo(data) {
  return request({
    url: '/SchedMessage/Payinfo',
    method: 'post',
    data
  })
}

